﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _11._6
{
    internal class Checker
    {
        public void Check(object param1)
        {
            if (param1 is ClassA)
                Console.WriteLine("classa");
            else
                Console.WriteLine("no classa");

            if (param1 is IMyInterface)
                Console.WriteLine("IMyInterface");
            else
                Console.WriteLine("no IMyInterface");


            if (param1 is MyStruct)
                Console.WriteLine("MyStruct");
            else
                Console.WriteLine("no MyStruct");

        }
    }
}
